package com.chuangjiangx.member.coupon.dao.model;

import java.util.Date;

public class InMbrHasCoupon {
    private Long id;

    private Long memberId;

    private Long mbrCouponId;

    private String verifyCode;

    private Integer verifyStatus;

    private Date claimTime;

    private Date verifyTime;

    private Date useTime;

    private Long verifyStoreId;

    private Long verifyStoreUserId;

    private Integer verifyTerminal;

    private Integer wxVerifyStatus;

    private Integer wxSyncStatus;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMbrCouponId() {
        return mbrCouponId;
    }

    public void setMbrCouponId(Long mbrCouponId) {
        this.mbrCouponId = mbrCouponId;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode == null ? null : verifyCode.trim();
    }

    public Integer getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public Date getClaimTime() {
        return claimTime;
    }

    public void setClaimTime(Date claimTime) {
        this.claimTime = claimTime;
    }

    public Date getVerifyTime() {
        return verifyTime;
    }

    public void setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Long getVerifyStoreId() {
        return verifyStoreId;
    }

    public void setVerifyStoreId(Long verifyStoreId) {
        this.verifyStoreId = verifyStoreId;
    }

    public Long getVerifyStoreUserId() {
        return verifyStoreUserId;
    }

    public void setVerifyStoreUserId(Long verifyStoreUserId) {
        this.verifyStoreUserId = verifyStoreUserId;
    }

    public Integer getVerifyTerminal() {
        return verifyTerminal;
    }

    public void setVerifyTerminal(Integer verifyTerminal) {
        this.verifyTerminal = verifyTerminal;
    }

    public Integer getWxVerifyStatus() {
        return wxVerifyStatus;
    }

    public void setWxVerifyStatus(Integer wxVerifyStatus) {
        this.wxVerifyStatus = wxVerifyStatus;
    }

    public Integer getWxSyncStatus() {
        return wxSyncStatus;
    }

    public void setWxSyncStatus(Integer wxSyncStatus) {
        this.wxSyncStatus = wxSyncStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", mbrCouponId=").append(mbrCouponId);
        sb.append(", verifyCode=").append(verifyCode);
        sb.append(", verifyStatus=").append(verifyStatus);
        sb.append(", claimTime=").append(claimTime);
        sb.append(", verifyTime=").append(verifyTime);
        sb.append(", useTime=").append(useTime);
        sb.append(", verifyStoreId=").append(verifyStoreId);
        sb.append(", verifyStoreUserId=").append(verifyStoreUserId);
        sb.append(", verifyTerminal=").append(verifyTerminal);
        sb.append(", wxVerifyStatus=").append(wxVerifyStatus);
        sb.append(", wxSyncStatus=").append(wxSyncStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        InMbrHasCoupon other = (InMbrHasCoupon) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMemberId() == null ? other.getMemberId() == null : this.getMemberId().equals(other.getMemberId()))
            && (this.getMbrCouponId() == null ? other.getMbrCouponId() == null : this.getMbrCouponId().equals(other.getMbrCouponId()))
            && (this.getVerifyCode() == null ? other.getVerifyCode() == null : this.getVerifyCode().equals(other.getVerifyCode()))
            && (this.getVerifyStatus() == null ? other.getVerifyStatus() == null : this.getVerifyStatus().equals(other.getVerifyStatus()))
            && (this.getClaimTime() == null ? other.getClaimTime() == null : this.getClaimTime().equals(other.getClaimTime()))
            && (this.getVerifyTime() == null ? other.getVerifyTime() == null : this.getVerifyTime().equals(other.getVerifyTime()))
            && (this.getUseTime() == null ? other.getUseTime() == null : this.getUseTime().equals(other.getUseTime()))
            && (this.getVerifyStoreId() == null ? other.getVerifyStoreId() == null : this.getVerifyStoreId().equals(other.getVerifyStoreId()))
            && (this.getVerifyStoreUserId() == null ? other.getVerifyStoreUserId() == null : this.getVerifyStoreUserId().equals(other.getVerifyStoreUserId()))
            && (this.getVerifyTerminal() == null ? other.getVerifyTerminal() == null : this.getVerifyTerminal().equals(other.getVerifyTerminal()))
            && (this.getWxVerifyStatus() == null ? other.getWxVerifyStatus() == null : this.getWxVerifyStatus().equals(other.getWxVerifyStatus()))
            && (this.getWxSyncStatus() == null ? other.getWxSyncStatus() == null : this.getWxSyncStatus().equals(other.getWxSyncStatus()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMemberId() == null) ? 0 : getMemberId().hashCode());
        result = prime * result + ((getMbrCouponId() == null) ? 0 : getMbrCouponId().hashCode());
        result = prime * result + ((getVerifyCode() == null) ? 0 : getVerifyCode().hashCode());
        result = prime * result + ((getVerifyStatus() == null) ? 0 : getVerifyStatus().hashCode());
        result = prime * result + ((getClaimTime() == null) ? 0 : getClaimTime().hashCode());
        result = prime * result + ((getVerifyTime() == null) ? 0 : getVerifyTime().hashCode());
        result = prime * result + ((getUseTime() == null) ? 0 : getUseTime().hashCode());
        result = prime * result + ((getVerifyStoreId() == null) ? 0 : getVerifyStoreId().hashCode());
        result = prime * result + ((getVerifyStoreUserId() == null) ? 0 : getVerifyStoreUserId().hashCode());
        result = prime * result + ((getVerifyTerminal() == null) ? 0 : getVerifyTerminal().hashCode());
        result = prime * result + ((getWxVerifyStatus() == null) ? 0 : getWxVerifyStatus().hashCode());
        result = prime * result + ((getWxSyncStatus() == null) ? 0 : getWxSyncStatus().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}